package iotwisp.school.user.command.user;

import javax.validation.constraints.NotBlank;

import iotwisp.base.cqrs.SPIBaseCommand;
import lombok.Data;
import lombok.EqualsAndHashCode;

@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = false)
public class ModifyUserSCmd extends SPIBaseCommand {

	/**
	 * 用户Id
	 */
	@NotBlank(message = "输入用户编号")
	private String userId;

	/**
	 * 名字
	 */
	private String name;

	/**
	 * 手机号
	 */
	private String mobile;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 头像照片
	 */
	private String headImageId;

	public String getUrl() {
		return "/org/user/modify";
	}
}
